﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PBDesk.com.Mailers;
using PBDesk.com.Mailers;
using Mvc.Mailer;

namespace PBDesk.com.Extension.UmbHelper
{
    public class EmailHelper
    {
        public static void SendAdminTaskNotificationEmail(string subject, string message)
        {
            MyEmails email = new MyEmails();
            email.AdminTasksNotifications(subject, message).Send();    
        }

        public static void SendErrorLogEmail(string subject, string message)
        {
            MyEmails email = new MyEmails();
            email.ErrorEmail(subject, message).Send();
        }
    }
}